
    //
//  CoreManager.m
//  TrainTree
//
//  Created by wanghui on 2017/9/13.
//  Copyright © 2017年 YouYeShu. All rights reserved.
//

#import "CoreManager.h"

@implementation CoreManager
+ (UIViewController *)getCurrentController
{
    UINavigationController *controller =  (UINavigationController *)[UIApplication sharedApplication].keyWindow.rootViewController;
    return  controller.topViewController;
}
@end
